/* eslint-disable */

import React from 'react';
import { Svg, Path } from 'react-native-svg';
import { getIconColor } from './helper';

let IconSearch = ({ size, color, ...rest }) => {
  return (
    <Svg viewBox="0 0 1024 1024" width={size} height={size} {...rest}>
      <Path
        d="M1005.189 1005.189c-14.42 14.404-37.783 14.404-52.205 0l-244.114-244.114c-74.169 62.383-169.783 100.085-274.289 100.085-235.597 0-426.579-190.984-426.579-426.579 0-235.597 190.984-426.579 426.579-426.579s426.579 190.984 426.579 426.579c0 104.507-37.703 200.104-100.085 274.289l244.114 244.114c14.42 14.42 14.42 37.783 0 52.205zM783.591 434.579c0-192.755-156.257-349.013-349.013-349.013s-349.013 156.257-349.013 349.013c0 192.755 156.257 349.013 349.013 349.013s349.013-156.257 349.013-349.013z"
        fill={getIconColor(color, 0, '#333333')}
      />
    </Svg>
  );
};

IconSearch.defaultProps = {
  size: 18,
};

IconSearch = React.memo ? React.memo(IconSearch) : IconSearch;

export default IconSearch;
